<#if pg??>${pg.countHtml!}</#if>
<table class="list">
  <tr>
    <th>商品编码</th>
    <th>商品名称</th>
    <th>商品类别</th>
    <th>计量单位</th>
    <th>标准售价</th>
    <th>员工价</th>
    <th>会员价</th>
    <th>采购价</th>
    <th>采购合同号</th>
    <th>上架日期</th>
    <th>下架日期</th>
    <th>卖品/非卖品</th>
    <th>备注</th>
    <th>状态</th>
    <th>操作</th>
  </tr>
  <#if list??><#list list as c>
  <tr<#if c_index%2==1> class="line2"<#else> class="line1"</#if>>
    <td>${c.productCode!}</td>
    <td>${c.productName!}</td>
    <td><@value type="productType" key="${c.productType!}"/></td>
    <td><@value type="productUnit" key="${c.unit!}"/></td>
    <td>${c.price!}</td>
    <td>${c.allowanceTypePrice1!}</td>
    <td>${c.allowanceTypePrice2!}</td>
    <td>${c.purcPrice!}</td>
    <td><@value type="purcContract" key="${c.defaultContract!}"/></td>
    <td>${c.groundingDate!}</td>
    <td>${c.undercarriageDate!}</td>
    <td><@value type="saleFlgLst" key="${c.saleFlg!}"/></td>
    <td>${c.note!}</td>
    <td><#if c.status=1>有效<#elseif c.status=0>无效</#if></td>
    <td class="oper"><#if canEdit??><a class="edit" href="javascript:open('edit?productCode=${c.productCode!}');">修改</a></#if></td>
  </tr>
  </#list></#if>
</table>
<#if pg??>${pg.pageHtml!}</#if>
